﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BaiduApi.Entities
{
    public class TokenResult : ErrorInfo
    {
        /// <summary>
        /// 参数忽略，暂时不用;
        /// </summary>
        public string refresh_token { get; set; }
        /// <summary>
        /// Access Token的有效期(秒为单位，一般为1个月)；
        /// </summary>
        public int expires_in { get; set; }
        /// <summary>
        /// 参数忽略，暂时不用;
        /// </summary>
        public string scope { get; set; }
        /// <summary>
        /// 参数忽略，暂时不用;
        /// </summary>
        public string session_key { get; set; }
        /// <summary>
        /// 要获取的Access Token；
        /// </summary>
        public string access_token { get; set; }
        /// <summary>
        /// 参数忽略，暂时不用;
        /// </summary>
        public string session_secret { get; set; }
    }
}